package com.suyafei.es.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @program: es-homework
 * @description
 * @author: luffy
 * @create: 2020-12-10 21:20
 */
public interface PositionService {
    /**
     * 导入数据
     */
    void importAll() throws IOException;

    /**
     * 分页查询
     * @param keyword
     * @param pageNo
     * @param pageSize
     * @return
     * @throws IOException
     */
    List<Map<String, Object>> searchPos(String keyword, int pageNo, int pageSize) throws IOException;
}
